<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CRF++: CRFPP::Model Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">CRF++
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceCRFPP.html">CRFPP</a>      </li>
      <li class="navelem"><a class="el" href="classCRFPP_1_1Model.html">Model</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">CRFPP::Model Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="CRFPP::Model" -->
<p><code>#include &lt;<a class="el" href="crfpp_8h_source.html">crfpp.h</a>&gt;</code></p>

<p><a href="classCRFPP_1_1Model-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRFPP_1_1Model.html#a4531536aa03b1c6943153398080a5a90">open</a> (int argc, char **argv)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRFPP_1_1Model.html#aded5619e37a898e421f391a331e192ef">open</a> (const char *arg)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRFPP_1_1Model.html#a0b7217f32a5f0de37a21fb3014559b3d">openFromArray</a> (int argc, char **argv, const char *model_buf, size_t model_size)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRFPP_1_1Model.html#a596961134d1d412509dfd6860c46e8c3">openFromArray</a> (const char *arg, const char *model_buf, size_t model_size)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRFPP_1_1Model.html#aadb85c6b0cf521a5a04d908dcea7cccb">getTemplate</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCRFPP_1_1Tagger.html">Tagger</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRFPP_1_1Model.html#a7dbbb0b2bf51b37e1d1b5562db8f6004">createTagger</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRFPP_1_1Model.html#a04c592cadf13df08d49e6fd13f8f70bc">what</a> ()=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCRFPP_1_1Model.html#aeb89e767b60cce4d90512fbb6807d325">~Model</a> ()</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aeb89e767b60cce4d90512fbb6807d325"></a><!-- doxytag: member="CRFPP::Model::~Model" ref="aeb89e767b60cce4d90512fbb6807d325" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classCRFPP_1_1Model.html#aeb89e767b60cce4d90512fbb6807d325">CRFPP::Model::~Model</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7dbbb0b2bf51b37e1d1b5562db8f6004"></a><!-- doxytag: member="CRFPP::Model::createTagger" ref="a7dbbb0b2bf51b37e1d1b5562db8f6004" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classCRFPP_1_1Tagger.html">Tagger</a>* <a class="el" href="classCRFPP_1_1Model.html#a7dbbb0b2bf51b37e1d1b5562db8f6004">CRFPP::Model::createTagger</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aadb85c6b0cf521a5a04d908dcea7cccb"></a><!-- doxytag: member="CRFPP::Model::getTemplate" ref="aadb85c6b0cf521a5a04d908dcea7cccb" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* <a class="el" href="classCRFPP_1_1Model.html#aadb85c6b0cf521a5a04d908dcea7cccb">CRFPP::Model::getTemplate</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4531536aa03b1c6943153398080a5a90"></a><!-- doxytag: member="CRFPP::Model::open" ref="a4531536aa03b1c6943153398080a5a90" args="(int argc, char **argv)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="classCRFPP_1_1Model.html#a4531536aa03b1c6943153398080a5a90">CRFPP::Model::open</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aded5619e37a898e421f391a331e192ef"></a><!-- doxytag: member="CRFPP::Model::open" ref="aded5619e37a898e421f391a331e192ef" args="(const char *arg)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="classCRFPP_1_1Model.html#a4531536aa03b1c6943153398080a5a90">CRFPP::Model::open</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0b7217f32a5f0de37a21fb3014559b3d"></a><!-- doxytag: member="CRFPP::Model::openFromArray" ref="a0b7217f32a5f0de37a21fb3014559b3d" args="(int argc, char **argv, const char *model_buf, size_t model_size)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="classCRFPP_1_1Model.html#a0b7217f32a5f0de37a21fb3014559b3d">CRFPP::Model::openFromArray</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>model_buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>model_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a596961134d1d412509dfd6860c46e8c3"></a><!-- doxytag: member="CRFPP::Model::openFromArray" ref="a596961134d1d412509dfd6860c46e8c3" args="(const char *arg, const char *model_buf, size_t model_size)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="classCRFPP_1_1Model.html#a0b7217f32a5f0de37a21fb3014559b3d">CRFPP::Model::openFromArray</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>arg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>model_buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>model_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a04c592cadf13df08d49e6fd13f8f70bc"></a><!-- doxytag: member="CRFPP::Model::what" ref="a04c592cadf13df08d49e6fd13f8f70bc" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* <a class="el" href="classCRFPP_1_1Model.html#a04c592cadf13df08d49e6fd13f8f70bc">CRFPP::Model::what</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/taku/proj/crfpp/<a class="el" href="crfpp_8h_source.html">crfpp.h</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 13 2013 00:37:58 for CRF++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
